﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Light.Utility
{
    /// <summary>
    /// 提示信息常量字符串
    /// </summary>
    public class MsgStr
    {

        public const string InsertFailed = "新增失败！\r\n";
        public const string UpdateFailed = "更新失败！\r\n";
        public const string DeleteFailed = "删除失败！\r\n";
        public const string InsertSucced = "添加成功！\r\n";
        public const string UpdateSucced = "更新成功！\r\n";
        public const string DeleteSucced = "删除成功！\r\n";
        public const string SubmitSucced = "提交成功！\r\n";
        public const string OperateSucced = "操作成功！\r\n";
        public const string OperateFailed = "操作失败！\r\n";
        public const string OutputSucced = "数据导出成功！\r\n";
        public const string OutputFailed = "数据导出失败！\r\n";
        public const string InputSucced = "数据导入成功！\r\n";
        public const string InputFailed = "数据导入失败！\r\n";
        public const string NotExists = "此项不存在! ";
        public const string AlreadyExists = "此项已存在,请重新输入";
        public const string IsUsing = "数据使用中...不能直接删除\r\n";
        public const string SystemError = "Sorry,系统出错了！原因如下:\r\n";
        public const string NoPermission = "Sorry,您的权限不足！\r\n";
        public const string DeleteOrderRefused = "此订单下有清单商品，不允许删除！\r\n";
        public const string DeleteOrderListRefused = "当前状态下的商品不能删除！\r\n";

        public const string LogInFailed = "登录失败";
        public const string LogInSucced = "登录成功,欢迎进入本系统....";
        public const string WrongLoginInfo = "登录信息有误！请重试。";
        public const string NotFoundUser = "未找到与此账号相关的登录信息\r\n请联系管理员，设置登录密码!";
        public const string AlreadyLoged = "此账号已登录,禁止重复登录!\r\n如不是本人操作，请速联系管理员。";
        public const string ConnectServerFailed = "与服务器连接失败！请检查网络连接\r\n";
        public const string PwdLengthLess8Char = "密码长度不能小于8位!";
        public const string MsgBoxInforCaption = "提示信息";
        public const string NotFoundItem = "没有找到任何项！";
        public const string TenantCodeNotExists = "单位编号不存在,请输入正确的授权编号！";
        public const string TenantAccessFailed = "访问服务器失败！ 可能原因：\r\n1.软件使用期限已满。2.当前单位未被启用。\r\n请及时联系软件提供商！";
        public const string InvalidateUser = "用户名或密码错误！";

        public const string ConfirmSubmit = "确定要提交吗";
        public const string ConfirmQuit = "确定要关闭吗";

        public static string ExistsProduct = "当前商品已经添加到列表中，请不要重复添加！";
        public static string NotExists_Customer = "此客户不存在！";
        public static string NotExists_Supplier = "此供应商不存在！";

        public static string Notice_Exit = "页面数据未保存，确定要关闭吗?";
    }
}
